package items;

import java.util.ArrayList;

/**
 * A container for items TODO: Discuss/design an inventory system
 * 
 * @author Kyle_Solo
 */
public class Inventory extends ArrayList<Item> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6499751974016453792L;

	@Override
	public String toString() {
		String str = "[";
		for (int i = 0; i < size(); i++) {
			str += get(i).toString();
			if (i + 1 < size()) {
				str += ", ";
			}
		}
		str += "]";
		return str;
	}
}